package com.roads.project.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.roads.common.annotation.Excel;
import com.roads.common.core.domain.BaseEntity;

/**
 * 标段清单对象 pro_boq
 *
 * @author nhp
 * @date 2021-11-30
 */
public class ProBoq extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
    private Long id;

    /**
     * 机构编码
     */
    private String institutionCode;

    /**
     * 机构清单编码
     */
    private String institutionBoqCode;

    /**
     * 清单编码
     */
    @Excel(name = "清单编码")
    private String boqCode;

    /**
     * 清单名称
     */
    @Excel(name = "清单名称")
    private String boqName;

    /**
     * 上级编号
     */
    @Excel(name = "上级清单")
    private String parentCode;

    /**
     * 祖籍列表
     */
    @Excel(name = "祖籍列表")
    private String ancestors;

    /**
     * 显示排序
     */
    @Excel(name = "显示顺序")
    private Double orderNum;

    /**
     * 级别
     */
    @Excel(name = "级别")
    private Integer level;

    /**
     * 是否叶子结点（0否 1是）
     */
    @Excel(name = "是否叶节点")
    private String leafNode;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private BigDecimal amount;

    /**
     * 单价
     */
    @Excel(name = "单价")
    private BigDecimal price;

    /**
     * 金额
     */
    @Excel(name = "金额")
    private BigDecimal total;

    /**
     * 分项
     */
    @Excel(name = "分项")
    private String item;

    /**
     * 复核单价
     */
    private BigDecimal reviewPrice;

    /**
     * 复核数量
     */
    private BigDecimal reviewAmount;

    /**
     * 复核金额
     */
    private BigDecimal reviewTotal;

    /**
     * 变更单价
     */
    private BigDecimal changePrice;

    /**
     * 变更数量
     */
    private BigDecimal changeAmount;

    /**
     * 变更金额
     */
    private BigDecimal changeTotal;

    /**
     * 保留小数位
     */
    private Integer decimalPlace;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setInstitutionCode(String institutionCode) {
        this.institutionCode = institutionCode;
    }

    public String getInstitutionCode() {
        return institutionCode;
    }

    public void setInstitutionBoqCode(String institutionBoqCode) {
        this.institutionBoqCode = institutionBoqCode;
    }

    public String getInstitutionBoqCode() {
        return institutionBoqCode;
    }

    public void setBoqCode(String boqCode) {
        this.boqCode = boqCode;
    }

    public String getBoqCode() {
        return boqCode;
    }

    public void setBoqName(String boqName) {
        this.boqName = boqName;
    }

    public String getBoqName() {
        return boqName;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setOrderNum(Double orderNum) {
        this.orderNum = orderNum;
    }

    public Double getOrderNum() {
        return orderNum;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLeafNode(String leafNode) {
        this.leafNode = leafNode;
    }

    public String getLeafNode() {
        return leafNode;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnit() {
        return unit;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public BigDecimal getReviewPrice() {
        return reviewPrice;
    }

    public void setReviewPrice(BigDecimal reviewPrice) {
        this.reviewPrice = reviewPrice;
    }

    public BigDecimal getReviewAmount() {
        return reviewAmount;
    }

    public void setReviewAmount(BigDecimal reviewAmount) {
        this.reviewAmount = reviewAmount;
    }

    public BigDecimal getReviewTotal() {
        return reviewTotal;
    }

    public void setReviewTotal(BigDecimal reviewTotal) {
        this.reviewTotal = reviewTotal;
    }

    public BigDecimal getChangePrice() {
        return changePrice;
    }

    public void setChangePrice(BigDecimal changePrice) {
        this.changePrice = changePrice;
    }

    public BigDecimal getChangeAmount() {
        return changeAmount;
    }

    public void setChangeAmount(BigDecimal changeAmount) {
        this.changeAmount = changeAmount;
    }

    public BigDecimal getChangeTotal() {
        return changeTotal;
    }

    public void setChangeTotal(BigDecimal changeTotal) {
        this.changeTotal = changeTotal;
    }

    public Integer getDecimalPlace() {
        return decimalPlace;
    }

    public void setDecimalPlace(Integer decimalPlace) {
        this.decimalPlace = decimalPlace;
    }

    public String getItem() {
        return item;
    }

    public void setItem(String item) {
        this.item = item;
    }
}
